Part Number Hot Search : 
FND368C LA55P 11018 NC7SVL04 ZSR800G 080CT 70400 100JB
Product Description
Full Text Search
 

To Download CAP1106-1-AIA-TR Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  ? 2015 microchip technology inc. ds00001624b-page 1 general description the cap1106, which incorporates righttouch ? tech- nology, is a multiple channel capacitive touch sensor. the cap1106 contains six (6) individual capacitive touch sensor inputs. the device offers programmable sensitivity for use in touc h sensor applications. each sensor input automatically recalibrates to compensate for gradual environmental changes. the cap1106 includes multiple pattern touch recogni- tion that allows the user to select a specific set of but- tons to be touched simultaneously. if this pattern is detected, then a status bit is set and an interrupt gen- erated. additionally, the cap1106 includes circuitry and sup- port for enhanced sensor proximity detection. the cap1106 offers multiple power states operating at low quiescent currents. in the standby state of opera- tion, one or more capacitive touch sensor inputs are active. deep sleep is the lowest po wer state available, draw- ing 5ua (typical) of current. in this state, no sensor inputs are active. communications will wake the device. applications desktop and notebook pcs lcd monitors consumer electronics appliances features six (6) capacitive touch sensor inputs - cap1106 - programmable sensitivity - automatic recalibration - individual thresholds for each button proximity detection multiple button pattern detection calibrates for parasitic capacitance analog filtering for system noise sources press and hold feature for volume-like applica- tions multiple communication interfaces - smbus / i 2 c compliant interface low power operation - 5ua quiescent current in deep sleep - 50ua quiescent current in standby (1 sensor input monitored) - samples one or more channels in standby available in 10-pin 3mm x 3mm rohs compliant dfn package cap1106 6 channel capacitive touch sensor downloaded from: http:///
cap1106 ds00001624b-page 2 ? 2015 microchip technology inc. to our valued customers it is our intention to provide our valued customers with the bes t documentation possible to ensure successful use of your micro chip products. to this end, we will continue to improve our publications to better suit your needs. our publications will be refined and enhanced as new volumes and updates are introduced. if you have any questions or comments regarding this publication, please contact the marketing co mmunications department via e-mail at docerrors@microchip.com . we welcome your feedback. most current data sheet to obtain the most up-to-date version of this data s heet, please register at our worldwide web site at: http://www.microchip.com you can determine the version of a data s heet by examining its literature number found on the bottom outside corner of any page . the last character of the literature number is the version number, (e.g., ds30000000a is version a of document ds30000000). errata an errata sheet, describing minor operational differences from the data sheet and recommended workarounds, may exist for cur- rent devices. as device/doc umentation issues become known to us, we will publish an errata s heet. the errata will specify the revision of silicon and revision of document to which it applies. to determine if an errata sheet exis ts for a particular device, please check with one of the following: microchips worldwide web site; http://www.microchip.com your local microchip sales office (see last page) when contacting a sales office, please spec ify which device, revision of silicon and data sheet (include -literature number) yo u are using. customer notification system register on our web site at www.microchip.com to receive the most current information on all of our products. downloaded from: http:///
? 2015 microchip technology inc. ds00001624b-page 3 cap1106 table of contents 1.0 block diagram ............................................................................................................. .................................................................... 4 2.0 pin description ................................................................................................................................................................................ 5 3.0 electrical specif ications ................................................................................................. ................................................................. 9 4.0 communications ........................................................................................................................................................................... 12 5.0 general description ...................................................................................................................................................................... 23 6.0 register description ...................................................................................................................................................................... 29 7.0 package information ..................................................................................................................................................................... 67 appendix a: device delta ................................................................................................................................................................... 72 appendix b: data sheet revision history ........................................................................................................................................... 74 the microchip web site ........................................................................................................ .............................................................. 76 customer change notification service ............................................................................................................................................... 76 customer support ............................................................................................................................................................................... 76 product identification system ................................................................................................. ............................................................ 77 downloaded from: http:///
cap1106 ds00001624b-page 4 ? 2015 microchip technology inc. 1.0 block diagram smbus / bc-link protocol vdd gnd capacitive touch sensing algorithm cs1 cs2 cs3 cs4 cs5 smclk 1 / bc_clk 2 smdata 1 / bc_data 2 alert# 1 / bc_irq# 2 1 = cap1106-1 2 = cap1106-2 cs6 downloaded from: http:///
? 2015 microchip technology inc. ds00001624b-page 5 cap1106 2.0 pin description figure 2-1: cap1106 pin diagram (10-pin dfn) table 2-1: pin description for cap1106 pin number pin name pin function pin type unused connection 1 cs1 capacitive touch sensor input 1 aio connect to ground 2a l e r t # alert# - active low alert / interrupt output for smbus alert od (5v) connect to ground alert# - active high alert / interrupt output for smbus alert do leave open 3s m d a t a smdata - bi-directional, open-drain smbus data - requires pull-up resistor diod (5v) n/a 4 smclk smclk - smbus clock input - requires pull-up resistor di (5v) n/a 5 vdd positive power supply power n/a 6 cs6 capacitive touch sensor input 6 aio connect to ground 7 cs5 capacitive touch sensor input 5 aio connect to ground 8 cs4 capacitive touch sensor input 4 aio connect to ground 9 cs3 capacitive touch sensor input 3 aio connect to ground gnd cs3 cs2 1 2 3 4 5 cs4 cs1 alert# / bc_irq# smdata / bc_data vdd smclk / bc_clk cs5 cs6 cap1106 3mm x 3mm dfn 10 9 8 7 6 downloaded from: http:///
cap1106 ds00001624b-page 6 ? 2015 microchip technology inc. application note: when the alert# pin is configured as an acti ve low output, it will be open drain. when it is configured as an active high output, it will be push-pull. application note: for the 5v tolerant pins that have a pull-up re sistor, the pull-up voltage must not exceed 3.6v when the cap1106 is unpowered. the pin types are described in table 2-2 . all pins labeled with (5v) are 5v tolerant. 10 cs2 capacitive touch sensor input 2 aio connect to ground bottom pad gnd ground power n/a table 2-2: pin types pin type description power this pin is used to supply power or ground to the device. di digital input - this pin is used as a digital input. this pin is 5v tolerant. aio analog input / output -this pin is used as an i/o for analog signals. diod digital input / open drain output - this pin is used as a digital i/o. wh en it is used as an out- put, it is open drain and requires a pull- up resistor. this pin is 5v tolerant. od open drain digital output - this pin is used as a digital output. it is open drain and requires a pull-up resistor. this pin is 5v tolerant. do push-pull digital output - this pin is used as a digital output and can sink and source current. dio push-pull digital input / output - this pin is used as an i/o for digital signals. table 2-1: pin description for cap1106 (continued) pin number pin name pin function pin type unused connection downloaded from: http:///
? 2015 microchip technology inc. ds00001624b-page 7 cap1106 3.0 electrical specifications note 3-1 stresses above those listed could cause permanent damage to the device. this is a stress rating only and functional operation of the device at any other condition above those indicated in the operation sections of this specification is not implied. note 3-2 for the 5v tolerant pins that have a pull- up resistor, the voltage difference between v 5vt_pin and v dd must never exceed 3.6v. note 3-3 the package power dissipation specification assumes a recommended thermal via design consisting of a 2x2 matrix of 0.3m m (12mil) vias at 1.0mm pitch connected to the ground plane with a 1.6 x 2.3mm thermal landing. table 3-1: absolute maximum ratings voltage on 5v tolerant pins (v 5vt_pin ) -0.3 to 5.5 v voltage on 5v tolerant pins (|v 5vt_pin - v dd |) note 3-2 0 to 3.6 v voltage on vdd pin -0.3 to 4 v voltage on any other pin to gnd -0.3 to vdd + 0.3 v package power dissipation up to t a = 85c for 10 pin dfn (see note 3-3 ) 0.7 w junction to ambient ( ja ) 77.7 c/w operating ambient temperature range -40 to 125 c storage temperature range -55 to 150 c esd rating, all pins, hbm 8000 v downloaded from: http:///
cap1106 ds00001624b-page 8 ? 2015 microchip technology inc. table 3-2: electrical specifications v dd = 3v to 3.6v, t a = 0c to 85c, all typical values at t a = 27c unless otherwise noted. characteristic symbol min typ max unit conditions dc power supply voltage v dd 3.0 3.3 3.6 v supply current i stby 120 170 ua standby state active 1 sensor input monitored default conditions (8 avg, 70ms cycle time) i stby 50 ua standby state active 1 sensor input monitored 1 avg, 140ms cycle time, i dsleep 51 5u a deep sleep state active no communications t a < 40c 3.135 < v dd < 3.465v i dd 500 600 ua capacitive sensing active capacitive touch sensor inputs maximum base capacitance c base 50 pf pad untouched minimum detectable capacitive shift ? c touch 20 ff pad touched - default conditions (1 avg, 35ms cycle time, 1x sensitiv- ity) recommended cap shift ? c touch 0.1 2 pf pad touched - not tested power supply rejec- tion psr 3 10 counts / v untouched current counts base capacitance 5pf - 50pf maximum sensitivity negative delta counts disabled all other parameters default timing time to communica- tions ready t comm_dly 15 ms time to first conver- sion ready t conv_dly 170 200 ms i/o pins output low voltage v ol 0.4 v i sink_io = 8ma output high voltage v oh v dd - 0.4 v i source_io = 8ma input high voltage v ih 2.0 v input low voltage v il 0.8 v leakage current i leak 5 ua powered or unpowered t a < 85c pull-up voltage < 3.6v if unpowered smbus timing input capacitance c in 5p f clock frequency f smb 10 400 khz spike suppression t sp 50 ns bus free time stop to start t buf 1.3 us start setup time t su:sta 0.6 us downloaded from: http:///
? 2015 microchip technology inc. ds00001624b-page 9 cap1106 note 3-4 the alert pin will not glitch high or low at powe r up if connected to vdd or another voltage. note 3-5 the smclk and smdata pins will not g litch low at power up if connec ted to vdd or another voltage. start hold time t hd:sta 0.6 us stop setup time t su:sto 0.6 us data hold time t hd:dat 0 us when transmitting to the master data hold time t hd:dat 0.3 us when receiving from the master data setup time t su:dat 0.6 us clock low period t low 1.3 us clock high period t high 0.6 us clock / data fall time t fall 300 ns min = 20+0.1c load ns clock / data rise time t rise 300 ns min = 20+0.1c load ns capacitive load c load 400 pf per bus line table 3-2: electrical specifications (continued) v dd = 3v to 3.6v, t a = 0c to 85c, all typical values at t a = 27c unless otherwise noted. characteristic symbol min typ max unit conditions downloaded from: http:///
cap1106 ds00001624b-page 10 ? 2015 microchip technology inc. 4.0 communications 4.1 communications the cap1106 communicates using the smbus or i 2 c protocol. if the proprietary bc-link protocol is required for your application, please contact your microc hip representative for ordering instru ctions. regardless of the communications mechanism, the device functionality remains unchanged. 4.1.1 smbus (i 2 c) communications the supports the following protocols: send byte, receiv e byte, read byte, write byte, read block, and write block. in addition, the device supports i 2 c formatting for block read and block write protocols. see section 4.2 and section 4.3 for more information on the smbus bus and protocols respectively. application note: upon power up, the cap1106 will not respond to any communications for up to 15ms. after this time, full functionality is available. 4.2 system management bus the cap1106 communicates with a host controller, such as an sio, through the smbus. the smbus is a two-wire serial communication protocol between a computer host and its peripheral devices. a detailed timing diagram is shown in figure 4-1 . stretching of the smclk signal is supported; howev er, the cap1106 will not stretch the clock signal. 4.2.1 smbus start bit the smbus start bit is defined as a transition of the smbus da ta line from a logic 1 state to a logic 0 state while the smbus clock line is in a logic 1 state. 4.2.2 smbus address and rd / wr bit the smbus address byte consists of the 7-bit slave address followed by the rd / wr indicator bit. if this rd / wr bit is a logic 0, then the smbus host is writin g data to the slave device. if this rd / wr bit is a logic 1, then the smbus host is reading data from the slave device. the cap1106 responds to smbus address 0101_000(r/w). 4.2.3 smbus data bytes all smbus data bytes are sent most significant bi t first and composed of 8-bits of information. 4.2.4 smbus ack and nack bits the smbus slave will acknowledge all data bytes that it re ceives. this is done by the slave device pulling the smbus data line low after the 8th bit of each by te that is transmitted. this applies to both the write byte and block write proto- cols. figure 4-1: smbus timing diagram smdata smclk t low t rise t high t fall t buf t hd:sta p s s - start condition p - stop condition t hd:dat t su:dat t su:sta t hd:sta p t su:sto s downloaded from: http:///
? 2015 microchip technology inc. ds00001624b-page 11 cap1106 the host will nack (not acknowledge) the last data byte to be received from the slave by holding the smbus data line high after the 8th data bit has been sent. for the block read pr otocol, the host will ack each data byte that it receives except the last data byte. 4.2.5 smbus stop bit the smbus stop bit is defined as a transition of the smbus da ta line from a logic 0 state to a logic 1 state while the smbus clock line is in a logic 1 state. when the cap1106 detects an smbus stop bit and it has been communicating with the smbus protocol, it will reset its slave interface and prepare to receive further communications. 4.2.6 smbus timeout the cap1106 includes an smbus timeout feature. followin g a 30ms period of inactivity on the smbus where the smclk pin is held low, the device will timeout and reset the smbus interface. the timeout function defaults to disabled . it can be enabled by setting the timeout bit in the configuration register (see section 6.6, "config uration registers" ). 4.2.7 smbus and i 2 c compatibility the major differences between smbus and i 2 c devices are highlighted here. for more information, refer to the smbus 2.0 and i 2 c specifications. for information on using the cap1106 in an i 2 c system, refer to an 14.0 dedicated slave devices in i 2 c systems. 1. cap1106 supports i 2 c fast mode at 400khz. this covers the smbus max time of 100khz. 2. minimum frequency for smbu s communications is 10khz. 3. the smbus slave protocol will reset if the clock is held at a logic 0 for longer than 30ms. this timeout function- ality is disabled by default in the cap1106 and can be enabled by writing to the timeout bit. i 2 c does not have a timeout. 4. the smbus slave protocol will reset if both the clock an d data lines are held at a logic 1 for longer than 200s (idle condition). this function is disabled by default in the cap1106 and can be enabled by writing to the time- out bit. i 2 c does not have an idle condition. 5. i 2 c devices do not support the alert response address functionality (which is optional for smbus). 6. i 2 c devices support block read and write differently. i 2 c protocol allows for unlimited number of bytes to be sent in either direction. the smbus protocol requires that an additional data byte indicating number of bytes to read / write is transmitted. the cap1106 supports i 2 c formatting only. 4.3 smbus protocols the cap1106 is smbus 2.0 compatible and supports write byte, read byte, send byte, and receive byte as valid protocols as shown below. all of the below protocols use the convention in table 4-1 . 4.3.1 smbus write byte the write byte is used to write one byte of data to a specific register as shown in ta b l e 4 - 2 . 4.3.2 smbus read byte the read byte protocol is used to read one byte of data from the registers as shown in table 4-3 . table 4-1: protocol format data sent to device data sent to the host data sent data sent table 4-2: write byte protocol start slave address wr ack register address ack register data ack stop 1 ->0 0101_000 0 0 xxh 0 xxh 0 0 -> 1 downloaded from: http:///
cap1106 ds00001624b-page 12 ? 2015 microchip technology inc. 4.3.3 smbus send byte the send byte protocol is used to set the internal address register pointer to the correct address location. no data is transferred during the send byte protocol as shown in ta b l e 4 - 4 . application note: the send byte protocol is not functional in deep sleep (i.e., dsleep bit is set). 4.3.4 smbus receive byte the receive byte protocol is used to read data from a register when the intern al register address pointer is known to be at the right location (e.g., set via send byte). this is us ed for consecutive reads of the same register as shown in table 4-5 . application note: the receive byte protocol is not functional in deep sleep (i.e., dsleep bit is set). 4.4 i 2 c protocols the cap1106 supports i 2 c block write and block read. the protocols listed below use the convention in ta b l e 4 - 1 . 4.4.1 block write the block write is used to write multiple data byte s to a group of contiguous registers as shown in ta b l e 4 - 6 . application note: when using the block write protocol, the in ternal address pointer will be automatically incremented after every data byte is received. it will wrap from ffh to 00h. 4.4.2 block read the block read is used to read multiple data bytes from a group of contiguous registers as shown in table 4-7 . application note: when using the block read protocol, the internal address pointer will be automatically incremented after every data byte is received. it will wrap from ffh to 00h. table 4-3: read byte protocol start slave address wr ack register address ack start slave address rd ack register data nack stop 1->0 0101_000 0 0 xxh 0 1 ->0 0101_000 1 0 xxh 1 0 -> 1 table 4-4: send byte protocol start slave address wr ack register address ack stop 1 -> 0 0101_000 0 0 xxh 0 0 -> 1 table 4-5: receive byte protocol start slave address rd ack register data nack stop 1 -> 0 0101_000 1 0 xxh 1 0 -> 1 table 4-6: block write protocol start slave address wr ack register address ack register data ack 1 ->0 0101_000 0 0 xxh 0 xxh 0 register data ack register data ack . . . register data ack stop xxh 0 xxh 0 . . . xxh 0 0 -> 1 downloaded from: http:///
? 2015 microchip technology inc. ds00001624b-page 13 cap1106 4.5 bc-link interface the bc-link is a proprietary bus developed to allow comm unication between a host controller device to a companion device. this device uses this serial bus to read and writ e registers and for interrupt proc essing. the interface uses a data port concept, where the base interface has an address regi ster, data register and a control register, defined in the 8051s sfr space. refer to documentation for the bc-link compatible host controller for details on how to access the cap1106-2 via the bc-link interface. table 4-7: block read protocol start slave address wr ack register address ack start slave address rd ack register data 1->0 0101_000 0 0 xxh 0 1 ->0 0101_000 1 0 xxh ack register data ack register data ack register data ack . . . register data nack stop 0 xxh 0 xxh 0 xxh 0 . . . xxh 1 0 -> 1 downloaded from: http:///
cap1106 ds00001624b-page 14 ? 2015 microchip technology inc. 5.0 general description the cap1106 is a multiple channel capacitive touch sensor. the cap1106 contains six (6) individual capacitive touch sensor inputs. the device offers progra mmable sensitivity for use in touch sens or applications. each sensor input auto- matically recalibrates to compensat e for gradual environmental changes. the cap1106 offers multiple power states. it operates at t he lowest quiescent current during its deep sleep state. in the low power standby state, it can monitor one or mo re channels and respond to communications normally. the device communicates wit h a host controller using or via smbus / i 2 c. the host controller may poll the device for updated information at any time or it ma y configure the device to flag an inte rrupt whenever a touch is detected on any sensor pad. a typical system diagram for the cap1106 is shown in figure 5-1 . figure 5-1: system diagram for cap1106 cap1106 cs6 smdata 1 / bc_data 2 smclk 1 / bc_clk 2 embedded controller vdd alert# 1 / bc_irq# 2 cs4 cs2 cs5 cs3 cs1 touch button touch button touch button touch button touch button touch button 1 = cap1106-1 2 = cap1106-2 downloaded from: http:///
? 2015 microchip technology inc. ds00001624b-page 15 cap1106 5.1 power states the cap1106 has three operating states depending on the status of the stby and dsleep bits. when the device tran- sitions between power states, previously det ected touches (for inactive channels) are cleared and the status bits reset. 1. fully active - the device is fully active. it is monitoring all active capacitive sensor inputs. 2. standby - the device is in a lower power state. it will measure a programmable nu mber of channels using the standby configuration controls (see section 6.20 through section 6.22 ). interrupts will still be generated based on the active channels. the device will still respond to co mmunications normally and can be returned to the fully active state of operation by clearing the stby bit. 3. deep sleep - the device is in its lowest power state. it is not monitoring any capacitive sensor inputs. while in deep sleep, the device can be awakened by smbus or sp i communications targeting the device. this will not cause the dsleep to be cleared so the device will return to deep sleep once all communications have stopped. 5.2 capacitive touch sensing the cap1106 contains six (6) independent capacitive touch sensor inputs. each sensor input has dynamic range to detect a change of capacitance due to a touch. additionally , each sensor input can be configured to be automatically and routinely re-calibrated. 5.2.1 sensing cycle each capacitive touch sensor input has controls to be activated and included in the sensi ng cycle. when the device is active, it automatically initia tes a sensing cycle and repeats the cycle every time it finish es. the cycle polls through each active sensor input starting with cs1 and extending through cs 6. as each capacitive touch sensor input is polled, its measurement is compared against a baseline not touched measurement. if the delta measurement is large enough, a touch is detected and an interrupt is generated. the sensing cycle time is programmable (see section 6.10, "averaging and sa mpling configuration register" ). 5.2.2 recalibrating sensor inputs there are various options for recalibrating the capacitive to uch sensor inputs. recalibration re-sets the base count reg- isters ( section 6.24, "sensor input base count registers" ) which contain the not touched values used for touch detec- tion comparisons. application note: the device will recalibrate all sensor inputs that were disabled when it transitions from standby. likewise, the device will recalibrate all sensor inputs when waking out of deep sleep. 5.2.2.1 manual recalibration the calibration activate registers ( section 6.11, "calibrati on activate register" ) force recalibration of selected sensor inputs. when a bit is set, the corresponding capacitive touch sensor input will be recalibrated (both analog and digital). the bit is automatically cleared once t he recalibration routine has finished. 5.2.2.2 automatic recalibration each sensor input is regularly reca librated at a programmable rate (see section 6.17, "recalibration configuration reg- ister" ). by default, the recalibration routine stores the aver age 64 previous measurements and periodically updates the base not touched setting for the capacitive touch sensor input. note: during this recalibration routine, the sensor inputs will not detect a press for up to 200ms and the sensor base count register values will be invalid. in addition, any press on the corresponding sensor pads will invalidate the recalibration. note: automatic recalibration only works when the delta count is below the active sensor input threshold. it is dis- abled when a touch is detected. downloaded from: http:///
cap1106 ds00001624b-page 16 ? 2015 microchip technology inc. 5.2.2.3 negative delta count recalibration it is possible that the device loses sensitivity to a touch. this may happen as a result of a noisy environment, an acci- dental recalibration during a touch, or other environmental ch anges. when this occurs, the base untouched sensor input may generate negative delta count values. the neg_delta_cnt bits (see section 6.17, "recalibration configuration register" ) can be set to force a recalibration after a spec ified number of consecutiv e negative delta readings. 5.2.2.4 delayed recalibration it is possible that a stuck button occu rs when something is placed on a button which causes a touch to be detected for a long period. by setting the max_dur_en bit (see section 6.6, "configuration registers" ), a recalibration can be forced when a touch is held on a button for longer than the duration specified in the max_dur bits (see section 6.8, "sensor input confi guration register" ). 5.2.3 proximity detection each sensor input can be configured to detect changes in capa citance due to proximity of a touch. this circuitry detects the change of capacitance that is generated as an object approaches, but does not physically touch, the enabled sensor pad(s). when a sensor input is selected to perform proximity detection, it will be sampled from 1x to 128x per sampling cycle. the larger the number of samples th at are taken, the greater the range of proximity de tection is available at the cost of an increased overall sampling time. 5.2.4 multiple touch pattern detection the multiple touch pattern (mtp) detection circuitry can be used to detect lid closure or other similar events. an event can be flagged based on either a minimum number of sensor inputs or on specific sensor inputs simultaneously exceed- ing an mtp threshold or having their noise flag status register bits set. an interrupt can also be generated. during an mtp event, all touches are blocked (see section 6.15, "multiple touch pa ttern configuration register" ). 5.2.5 low frequency noise detection each sensor input has an emi noise detector that will sense if low frequency noise is injected onto the input with suffi- cient power to corrupt the readings. if this occurs, the device will reject the corrupted sample and set the corresponding bit in the noise status register to a logic 1. 5.2.6 rf noise detection each sensor input contains an integrated rf noise detector . this block will detect injected rf noise on the cs pin. the detector threshold is dependent upon the noise frequency. if rf no ise is detected on a cs line, that sample is removed and not compared against the threshold. 5.3 alert# pin the alert# pin is an active low (or active high when co nfigured) output that is dr iven when an interrupt event is detected. whenever an interrupt is generated, the int bit (see section 6.1, "main control register" ) is set. the alert# pin is cleared when the int bit is cleared by the user. additionally, when the int bit is cleared by the user, status bits are only cleared if no touch is detected. 5.3.1 sensor interrupt behavior the sensor interrupts are generated in one of two ways: 1. an interrupt is generated when a touch is detected and, as a user selectable option, when a release is detected (by default - see section 6.6 ). see figure 5-3 . 2. if the repeat rate is enabled then, so long as the touch is held, another interrupt will be generated based on the programmed repeat rate (see figure 5-2 ). note: during this recalibration, the device will not respond to touches. note: delayed recalibration only works when the delta count is above the active sensor input threshold. if enabled, it is invoked when a sensor pad touc h is held longer than the max_dur bit setting. downloaded from: http:///
? 2015 microchip technology inc. ds00001624b-page 17 cap1106 when the repeat rate is enabled, the device uses an additional control called mpress that determines whether a touch is flagged as a simple touch or a press and hold. the mpress[3:0] bits set a minimum press timer. when the button is touched, the timer begins. if the sens or pad is released before the minimum press timer expires, it is flagged as a touch and an interrupt is generated upon rele ase. if the sensor input detects a touch for longer than this timer value, it is flagged as a press and hold event. so long as the touc h is held, interrupts will be generated at the programmed repeat rate and upon release (if enabled). application note: figure 5-2 and figure 5-3 show default operation which is to generate an interrupt upon sensor pad release and an active-low alert# pin. application note: the host may need to poll the device twice to determine that a release has been detected. figure 5-2: sensor interrupt behavior - repeat rate enabled figure 5-3: sensor interrupt behavior - no repeat rate enabled touch detected int bit button status write to int bit polling cycle (35ms) min press setting (280ms) interrupt on touch button repeat rate (175ms) button repeat rate (175ms) interrupt on release (optional) alert# pin (active low) touch detected int bit button status write to int bit polling cycle (35ms) interrupt on touch interrupt on release (optional) alert# pin (active low) downloaded from: http:///
cap1106 ds00001624b-page 18 ? 2015 microchip technology inc. 6.0 register description the registers shown in ta b l e 6 - 1 are accessible through the communications prot ocol. an entry of - indicates that the bit is not used and will always read 0. table 6-1: register set in hexadecimal order register address r/w register name functi on default value page 00h r/w main control controls general power states and power dissipation 00h page 20 02h r general status stores general status bits 00h page 21 03h r sensor input status returns the state of the sampled capacitive touch sensor inputs 00h page 21 0ah r noise flag status stores the noise flags for sensor inputs 00h page 22 10h r sensor input 1 delta count stores the delta count for cs1 00h page 22 11h r sensor input 2 delta count stores the delta count for cs2 00h page 22 12h r sensor input 3 delta count stores the delta count for cs3 00h page 22 13h r sensor input 4 delta count stores the delta count for cs4 00h page 22 14h r sensor input 5 delta count stores the delta count for cs5 00h page 22 15h r sensor input 6 delta count stores the delta count for cs6 00h page 22 1fh r/w sensitivity control controls the sensitiv ity of the threshold and delta counts and data scaling of the base counts 2fh page 22 20h r/w configuration controls general functionality 20h page 24 21h r/w sensor input enable controls whether the capacitive touch sensor inputs are sampled 3fh page 25 22h r/w sensor input configura- tion controls max duration and auto-repeat delay for sensor inputs operating in the full power state a4h page 25 23h r/w sensor input configura- tion 2 controls the mpress controls for all sensor inputs 07h page 26 24h r/w averaging and sam- pling config controls averaging and sampling win- dow 39h page 27 26h r/w calibration activate forces re-calibrati on for capacitive touch sensor inputs 00h page 28 27h r/w interrupt enable enables interrupts associated with capacitive touch sensor inputs 3fh page 29 28h r/w repeat rate enable enables repeat rate for all sensor inputs 3fh page 29 2ah r/w multiple touch configu- ration determines the number of simultane- ous touches to flag a multiple touch condition 80h page 30 2bh r/w multiple touch pattern configuration determines the mult iple touch pattern (mtp) configuration 00h page 30 2dh r/w multiple touch pattern determines the pattern or number of sensor inputs used by the mtp cir- cuitry 3fh page 31 downloaded from: http:///
? 2015 microchip technology inc. ds00001624b-page 19 cap1106 2fh r/w recalibration configura- tion determines re-calibration timing and sampling window 8ah page 32 30h r/w sensor input 1 thresh- old stores the delta count threshold to determine a touch for capacitive touch sensor input 1 40h page 33 31h r/w sensor input 2 thresh- old stores the delta count threshold to determine a touch for capacitive touch sensor input 2 40h page 33 32h r/w sensor input 3 thresh- old stores the delta count threshold to determine a touch for capacitive touch sensor input 3 40h page 33 33h r/w sensor input 4 thresh- old stores the delta count threshold to determine a touch for capacitive touch sensor input 4 40h page 33 34h r/w sensor input 5 thresh- old stores the delta count threshold to determine a touch for capacitive touch sensor input 5 40h page 33 35h r/w sensor input 6 thresh- old stores the delta count threshold to determine a touch for capacitive touch sensor input 6 40h page 33 38h r/w sensor input noise threshold stores controls for selecting the noise threshold for all sensor inputs 01h page 33 standby configuration registers 40h r/w standby channel controls which sensor inputs are enabled while in standby 00h page 34 41h r/w standby configuration controls averaging and cycle time while in standby 39h page 34 42h r/w standby sensitivity controls sensitivity settings used while in standby 02h page 35 43h r/w standby threshold stores the touch detection threshold for active sensor inputs in standby 40h page 36 44h r/w configuration 2 stores additional configuration con- trols for the device 40h page 24 base count registers 50h r sensor input 1 base count stores the reference count value for sensor input 1 c8h page 36 51h r sensor input 2 base count stores the reference count value for sensor input 2 c8h page 36 52h r sensor input 3 base count stores the reference count value for sensor input 3 c8h page 36 53h r sensor input 4 base count stores the reference count value for sensor input 4 c8h page 36 54h r sensor input 5 base count stores the reference count value for sensor input 5 c8h page 36 55h r sensor input 6 base count stores the reference count value for sensor input 6 c8h page 36 b1h r sensor input 1 calibra- tion stores the upper 8-bit calibration value for sensor input 1 00h page 37 table 6-1: register set in hexadecimal order (continued) register address r/w register name functi on default value page downloaded from: http:///
cap1106 ds00001624b-page 20 ? 2015 microchip technology inc. during power-on-reset (por), the default values are stored in the registers. a por is in itiated when power is first applied to the part and the voltage on the vdd supply surpa sses the por level as specified in the electrical character- istics. any reads to undefined registers will return 00h. writes to undefined registers will not have an effect. when a bit is set, this means that the us er writes a logic 1 to it. when a bit is cleared, this means that the user write s a logic 0 to it. 6.1 main control register the main control register controls the primary power state of the device. bits 7 - 6 - gain[1:0] - controls the gain used by the capaciti ve touch sensing circuitry. as the gain is increased, the effective sensitivity is likewise increased as a smaller delt a capacitance is required to generate the same delta count values. the sensitivity settings may need to be adjusted alon g with the gain settings such that data overflow does not occur. application note: the gain settings apply to both standby and active states. b2h r sensor input 2 calibra- tion stores the upper 8-bit calibration value for sensor input 2 00h page 37 b3h r sensor input 3 calibra- tion stores the upper 8-bit calibration value for sensor input 3 00h page 37 b4h r sensor input 4 calibra- tion stores the upper 8-bit calibration value for sensor input 4 00h page 37 b5h r sensor input 5 calibra- tion stores the upper 8-bit calibration value for sensor input 5 00h page 37 b6h r sensor input 6 calibra- tion stores the upper 8-bit calibration value for sensor input 6 00h page 37 b9h r sensor input calibra- tion lsb 1 stores the 2 lsbs of the calibration value for sensor inputs 1 - 4 00h page 37 bah r sensor input calibra- tion lsb 2 stores the 2 lsbs of the calibration value for sensor inputs 5- 6 00h page 37 fdh r product id cap1106 stores a fixed value that identifies each product 55h page 37 feh r manufacturer id stores a fixed value that identifies microchip 5dh page 38 ffh r revision stores a fixed value that represents the revision number 83h page 38 table 6-2: main control register a d d rr / w r e g i s t e r b 7 b 6b 5 b 4 b 3b 2b 1b 0d e f a u l t 00h r/w main control gain[1:0] stby dsleep - - - int 00h table 6-3: gain bit decode gain[1:0] capacitive touch sensor gain 10 00 1 01 2 10 4 11 8 table 6-1: register set in hexadecimal order (continued) register address r/w register name functi on default value page downloaded from: http:///
? 2015 microchip technology inc. ds00001624b-page 21 cap1106 bit 5 - stby - enables standby. 0 (default) - sensor input scanning is active. 1 - capacitive touch sensor input scanning is limited to the sensor inputs set in the standby channel register (see section 6.20 ). the status registers will not be cleared until read. sensor inputs that are no longer sampled will flag a release and then remain in a non-touched state. bit 4 - dsleep - enables deep sleep by deactivating all fu nctions. 0 (default) - sensor input scanning is active. 1 - all sensor input scanning is disabled.. the status registers are automatically cleared and the int bit is cleared. bit 0 - int - indicates that there is an interrupt. when this bit is set, it asserts the alert# pin. if a channel detects a touch and its associated interrupt enable bit is not set to a logic 1, no action is taken. this bit is cleared by writing a logic 0 to it. when this bit is cleared, the alert# pin will be deasserted and all status registers will be cleared if the condition has been removed. 0 - no interrupt pending. 1 - a touch has been detected on one or more channels and the interrupt has been asserted. 6.2 status registers all status bits are cleared when the devi ce enters the deep sl eep (dsleep = 1 - see section 6.1 ). 6.2.1 general status - 02h bit 2 - mult - indicates that the device is blocking detect ed touches due to the multiple touch detection circuitry (see section 6.14 ). this bit will not cause the int bit to be set and hence will not cause an interrupt. bit 1 - mtp - indicates that the device has detected a number of sensor inputs th at exceed the mtp threshold either via the pattern recognition or via t he number of sensor inputs (see section 6.15 ). this bit will cause the int bit to be set if the mtp_alert bit is also set. this bit will not be cleared un til the condition that caused it to be set has been removed. bit 0 - touch - indicates that a touch was de tected. this bit is set if any bit in the sensor input status register is set. 6.2.2 sensor inpu t status - 03h the sensor input status register stores status bits that indicate a touch has b een detected. a value of 0 in any bit indicates that no touch has been detected. a value of 1 in any bit indicates that a touch has been detected. all bits are cleared when the int bit is cleared and if a touch on the respective capacitive touch sensor input is no longer present. if a touch is st ill detected, the bits will not be cleared (but this will not cause the interrupt to be asserted - see section 6.6 ). bit 5 - cs6 - indicates that a touch was detected on sensor input 6. bit 4 - cs5 - indicates that a touch was detected on sensor input 5. bit 3 - cs4 - indicates that a touch was detected on sensor input 4. bit 2 - cs3 - indicates that a touch was detected on sensor input 3. bit 1 - cs2 - indicates that a touch was detected on sensor input 2. bit 0 - cs1 - indicates that a touch was detected on sensor input 1. table 6-4: status registers addr r/w register b7 b6 b5 b4 b3 b2 b1 b0 default 02h r general status - - - - - mult mtp touch 00h 03h r sensor input sta- tus - - cs6 cs5 cs4 cs3 cs2 cs1 00h downloaded from: http:///
cap1106 ds00001624b-page 22 ? 2015 microchip technology inc. 6.3 noise flag status registers the noise flag status registers store status bits that are generated from the analog block if the detected noise is above the operating region of the analog detector or the rf noise detector. these bits indicate that the most recently received data from the sensor input is invalid and should not be used for touch detection. so long as the bit is set for a particular channel, the delta count value is reset to 00h and thus no touch is detected. these bits are not sticky and will be cl eared automatically if the analog block does not report a noise error. application note: if the mtp detection circuitry is enabled, thes e bits count as sensor inputs above the mtp threshold (see section 5.2.4, "multiple touch pattern detection" ) even if the corresponding delta count is not. if the corresponding delta co unt also exceeds the mtp threshold, it is not counted twice. application note: regardless of the state of t he noise status bits, if low frequency noise is detected on a sensor input, that sample will be discarded unless the dis_ana_noise bit is set. as well, if rf noise is detected on a sensor i nput, that sample will be discarded unless the dis_rf_noise bit is set. 6.4 sensor input delta count registers the sensor input delta count registers store the delta count that is compared against the threshold used to determine if a touch has been detected. the count value represents a change in input due to the capacitance associated with a touch on one of the sensor inputs and is referenced to a calibrated base not touched count value. the delta is an instantaneous change and is updated once per sensor input per sensing cycle (see section 5.2.1, "sensing cycle" ). the value presented is a standard 2s complement number. in addition, the value is capped at a value of 7fh. a reading of 7fh indicates that the sensitivity settings are too high and should be adjusted accordingly (see section 6.5 ). the value is also capped at a negative value of 80h for negative delta counts which may result upon a release. 6.5 sensitivity control register table 6-5: noise flag status registers addr r/w register b7 b6 b5 b4 b3 b2 b1 b0 default 0ah r noise flag status --c s 6 _ noise cs5_ noise cs4_ noise cs3_ noise cs2_ noise cs1_ noise 00h table 6-6: sensor input delta count registers a d d rr / w r e g i s t e r b 7 b 6 b 5b 4b 3b 2b 1b 0d e f a u l t 10h r sensor input 1 delta count sign 64 32 16 8 4 2 1 00h 11h r sensor input 2 delta count sign 64 32 16 8 4 2 1 00h 12h r sensor input 3 delta count sign 64 32 16 8 4 2 1 00h 13h r sensor input 4 delta count sign 64 32 16 8 4 2 1 00h 14h r sensor input 5 delta count sign 64 32 16 8 4 2 1 00h 15h r sensor input 6 delta count sign 64 32 16 8 4 2 1 00h table 6-7: sensitivit y control register addr r/w register b7 b6 b5 b4 b3 b2 b1 b0 default 1fh r/w sensitivity control - del ta_sense[2:0] base_ shift[3:0] 2fh downloaded from: http:///
? 2015 microchip technology inc. ds00001624b-page 23 cap1106 the sensitivity control regi ster controls the sensitiv ity of a touch detection. bits 6-4 delta_sense[2:0] - controls th e sensitivity of a touch det ection. the sensitivity settings act to scale the rel- ative delta count value higher or lower based on the system parameters. a setting of 000b is the most sensitive while a setting of 111b is the least sensitive. at the more sensitive settings, touches are detected for a smaller delta capacitance corresponding to a lighter touch. these settings are more sensitive to noise, however, and a noisy environment may flag more false touches with higher sensitivity levels. application note: a value of 128x is the most sens itive setting available. at the most sensitivity settings, the msb of the delta count register represents 64 out of ~25,000 which corresponds to a touch of approximately 0.25% of the base capacitance (or a ? c of 25ff from a 10pf base capacitance). conversely, a value of 1x is t he least sensitive setting available. at these settings, the msb of the delta count register corresponds to a delta count of 8192 counts out of ~25,000 which corresponds to a touch of approximately 33% of the base capacitance (or a ? c of 3.33pf from a 10pf base capacitance). bits 3 - 0 - base_shift[3:0] - controls the scaling and data presenta tion of the base count registers. the higher the value of these bits, the larger the range and the lower the resolution of the data presented. the scale factor represents the multiplier to the bit-weighting pres ented in these register descriptions. application note: the base_shift[3:0] bits normall y do not need to be updated. t hese settings will not affect touch detection or sensitivity. these bits are sometimes helpful in analyzing the cap sensing board performance and stability. table 6-8: delta_sense bit decode delta_sense[2:0] sensitivity multiplier 210 0 0 0 128x (most sensitive) 001 6 4 x 0 1 0 32x (default) 011 1 6 x 100 8 x 101 4 x 110 2 x 1 1 1 1x - (least sensitive) table 6-9: base_shift bit decode base_shift[3:0] data scaling factor 32 1 0 00 0 0 1 x 00 0 1 2 x 00 1 0 4 x 00 1 1 8 x 01 0 0 1 6 x 01 0 1 3 2 x 01 1 0 6 4 x 0 1 1 1 128x 1 0 0 0 256x all others 256x (default = 1111b) downloaded from: http:///
cap1106 ds00001624b-page 24 ? 2015 microchip technology inc. 6.6 configuration registers the configuration registers control general globa l functionality that affe cts the entire device. 6.6.1 configuration - 20h bit 7 - timeout - enables the timeout and id le functionality of the smbus protocol. 0 (default for functional revision c) - the smbus timeout and idle functionality are disabled. the smbus inter- face will not time out if the clock line is held low. likewise, it will not reset if both the data and clock lines are held high for longer than 200us. this is used for i 2 c compliance. 1 (default for functional revision b) - the smbus ti meout and idle functionality are enabled. the smbus inter- face will time out if the clock line is held low for longer than 30ms. likewise, it will reset if both the data and clock lines are held high for longer than 200us. bit 5 - dis_dig_noise - determines whether the digital noise threshold (see section 6.19, "sensor input noise thresh- old register" ) is used by the device. setting this bit disables the feature. 0 - the digital noise threshold is used. if a delta coun t value exceeds the noise threshold but does not exceed the touch threshold, the sample is discarded and not used for the automatic re-calibration routine. 1 (default) - the noise threshold is disabled. any delta count that is less than the touch threshold is used for the automatic re-calibration routine. bit 4 - dis_ana_noise - determines whether the analog noise filter is enabled. setting th is bit disables the feature. 0 (default) - if low frequency noise is detected by the analog block, the delta count on the corresponding channel is set to 0. note that th is does not require that noise status bits be set. 1 - a touch is not blocked even if low frequency noise is detected. bit 3 - max_dur_en - determines whether the maximum duration recalibration is enabled. 0 (default) - the maximum duration recalibration functi onality is disabled. a touch may be held indefinitely and no re-calibration will be performed on any sensor input. 1 - the maximum duration recalibration functionality is enabled. if a touch is hel d for longer than the max_dur bit settings, then the re-calibrati on routine will be restarted (see section 6.8 ). 6.6.2 configuration 2 - 44h bit 6 - alt_pol - determines the alert# pin polarity and behavior. 0 - the alert# pin is active high and push-pull. 1 (default) - the alert# pin is active low and open drain. bit 5 - blk_pwr_ctrl - determines whether the device will reduce power consumption while waiting between con- version time completion and the end of the polling cycle. 0 (default) - the device will always power down as much as possible during the time between the end of the last conversion and the end of the polling cycle. 1 - the device will not power down the cap sensor duri ng the time between the end of the last conversion and the end of the polling cycle. bit 3 - show_rf_noise - determines whether the noise stat us bits will show rf noise as the only input source. 0 (default) - the noise status regi sters will show both rf noise and low frequency emi noise if either is detected on a capacitive touch sensor input. 1 - the noise status registers will only show rf noise if it is detected on a capacitive touch sensor input. emi table 6-10: configuration registers addr r/w register b7 b6 b5 b4 b3 b2 b1 b0 default 20h r/w configuration timeout - dis_ dig_ noise dis_ ana_ noise max_ dur_en --- a0h (rev b) 20h (rev c) 44h r/w configuration 2 -a l t _ pol blk_pwr_ ctrl - show_ rf_ noise dis_ rf_ noise - int_ rel_n 40h downloaded from: http:///
? 2015 microchip technology inc. ds00001624b-page 25 cap1106 noise will still be detected and touches will be blocked norma lly; however, the status bits will not be updated. bit 2 - dis_rf_noise - determines whether the rf noise filt er is enabled. setting this bit disables the feature. 0 (default) - if rf noise is detected by the analog block, the delta count on the corresponding channel is set to 0. note that this does not require that noise status bits be set. 1 - a touch is not blocked even if rf noise is detected. bit 0 - int_rel_n - controls the interrupt behav ior when a release is detected on a button. 0 (default) - an interrupt is generated when a press is detected and again when a release is detected and at the repeat rate (if enabled - see section 6.13 ). 1 - an interrupt is generated when a press is detected and at the repeat rate but not when a release is detected. 6.7 sensor input enable registers the sensor input enable regist ers determine whether a capaci tive touch sensor input is included in the sampling cycle. the length of the sampling cycle is not affe cted by the number of sensor inputs measured. bit 5 - cs6_en - enables the cs6 input to be included during the sampling cycle. 0 - the cs6 input is not included in the sampling cycle. 1 (default) - the cs6 input is included in the sampling cycle. bit 4 - cs5_en - enables the cs5 input to be included during the sampling cycle. bit 3 - cs4_en - enables the cs4 input to be included during the sampling cycle. bit 2 - cs3_en - enables the cs3 input to be included during the sampling cycle. bit 1 - cs2_en - enables the cs2 input to be included during the sampling cycle. bit 0 - cs1_en - enables the cs1 input to be included during the sampling cycle. 6.8 sensor input configuration register the sensor input configuration regist er controls timings associated with the capacitive sensor inputs 1 - 6. bits 7 - 4 - max_dur[3:0] - (default 1010b) - determines the ma ximum time that a sensor p ad is allowed to be touched until the capacitive touch sensor in put is recalibrated, as shown in ta b l e 6 - 1 3 . table 6-11: sensor input enable registers a d d rr / wr e g i s t e r b 7 b 6 b 5b 4b 3b 2b 1b 0d e f a u l t 21h r/w sensor input enable - - cs6_en cs5_en cs4_en cs3_en cs2_en cs1_en 3fh table 6-12: sensor input configuration register a d d rr / w r e g i s t e r b 7 b 6 b 5b 4b 3b 2b 1b 0d e f a u l t 22h r/w sensor input configuration max_dur[3:0] rpt_rate[3:0] a4h table 6-13: max_dur bit decode max_dur[3:0] time before recalibration 32 1 0 0 0 0 0 560ms 0 0 0 1 840ms 0 0 1 0 1120ms 0 0 1 1 1400ms 0 1 0 0 1680ms 0 1 0 1 2240ms 0 1 1 0 2800ms downloaded from: http:///
cap1106 ds00001624b-page 26 ? 2015 microchip technology inc. bits 3 - 0 - rpt_rate[3:0] - (default 0100b) determines the time duration between interrupt assertions when auto repeat is enabled. the resolution is 35ms the range is from 35ms to 560ms as shown in ta b l e 6 - 1 4 . 6.9 sensor input configuration 2 register bits 3 - 0 - m_press[3:0] - (default 0111b) - determines th e minimum amount of time that sensor inputs configured to use auto repeat must detect a sensor pa d touch to detect a press and hold even t. if the sensor input detects a touch for longer than the m_press[3:0] settings, a press and hold event is detected. if a sensor input detects a touch for less than or equal to the m_press[3:0] settings, a touch event is detected. the resolution is 35ms the range is from 35ms to 560ms as shown in ta b l e 6 - 1 6 . 1 1 1 3360ms 1 0 0 0 3920ms 1 0 0 1 4480ms 1 0 1 0 5600ms (default) 1 0 1 1 6720ms 1 1 0 0 7840ms 1 1 0 1 8906ms 1 1 1 0 10080ms 1 1 1 1 11200ms table 6-14: rpt_rate bit decode rpt_rate[3:0] interrupt repeat rate 3210 0000 3 5 m s 0001 7 0 m s 0 0 1 0 105ms 0 0 1 1 140ms 0 1 0 0 175ms (default) 0 1 0 1 210ms 0 1 1 0 245ms 0 1 1 1 280ms 1 0 0 0 315ms 1 0 0 1 350ms 1 0 1 0 385ms 1 0 1 1 420ms 1 1 0 0 455ms 1 1 0 1 490ms 1 1 1 0 525ms 1 1 1 1 560ms table 6-15: sensor input configuration 2 register addr r/w register b7 b6 b5 b4 b3 b2 b1 b0 default 23h r/w sensor input configuration 2 - - - - m_press[3:0] 07h table 6-13: max_dur bit decode (continued) max_dur[3:0] time before recalibration 32 1 0 downloaded from: http:///
? 2015 microchip technology inc. ds00001624b-page 27 cap1106 6.10 averaging and sampling configuration register the averaging and sampling configuration register controls the number of samples taken and the total sensor input cycle time for all active sensor inputs while the device is functioning in active state. bits 6 - 4 - avg[2:0] - determines the number of samples that are taken for all active channels during the sensor cycle as shown in ta b l e 6 - 1 8 . all samples are taken consecutively on the same channel before the next channel is sampled and the result is averaged over the number of sa mples measured before updating the measured results. for example, if cs1, cs2, and cs3 are sampled during the sensor cycle, and th e avg[2:0] bits are set to take 4 samples per channel, then the full sensor cycle will be: cs1, cs1, cs1, cs1, cs2, cs2, cs2, cs2, cs3, cs3, cs3, cs3. bits 3 - 2 - samp_time[1:0] - determines the time to take a single sample as shown in ta b l e 6 - 1 9 . table 6-16: m_press bit decode m_press[3:0] m_press settings 3210 0000 3 5 m s 0001 7 0 m s 0 0 1 0 105ms 0 0 1 1 140ms 0 1 0 0 175ms 0 1 0 1 210ms 0 1 1 0 245ms 0 1 1 1 280ms (default) 1 0 0 0 315ms 1 0 0 1 350ms 1 0 1 0 385ms 1 0 1 1 420ms 1 1 0 0 455ms 1 1 0 1 490ms 1 1 1 0 525ms 1 1 1 1 560ms table 6-17: averaging and sampling configuration register addr r/w register b7 b6 b5 b4 b3 b2 b1 b0 default 24h r/w averaging and sampling config avg[2:0] samp_time[1:0] cycle_time [1:0] 39h table 6-18: avg bit decode avg[2:0] number of samples taken per measurement 210 000 1 001 2 010 4 0 1 1 8 (default) 100 1 6 101 3 2 110 6 4 1 1 1 128 downloaded from: http:///
cap1106 ds00001624b-page 28 ? 2015 microchip technology inc. bits 1 - 0 - cycle_time[1:0] - determines the overall cycl e time for all measured channels during normal operation as shown in table 6-20 . all measured channels are sampled at the beginning of the cycle time. if additional time is remain- ing, then the device is placed into a lower power state for the remaining duration of the cycle. application note: the programmed cycle time is only maintained if the total averaging time for all samples is less than the programmed cycle. the avg[2:0] bits will take pr iority so that if more samples are required than would normally be allowed during the cycle time, the cycle time will be extended as necessary to accommodate t he number of samples to be measured. 6.11 calibration activate register the calibration activate register forces the respective sens or inputs to be re-calibrated affecting both the analog and digital blocks. during the re-calibration routine, the sensor inputs will not detect a press for up to 600m s and the sensor input base count register values will be invalid. during this time, any press on the corresponding sensor pads will inval- idate the re-calibration. when finished, the calx[9:0] bits will be updated (see section 6.25 ). when the corresponding bit is set, the device will perform the calibration and the bit will be automatically cleared once the re-calibration routine has finished. bit 5 - cs6_cal - when set, the cs6 input is re-calibrated. this bit is automatically cleared once the sensor input has been re-calibrated successfully. bit 4 - cs5_cal - when set, the cs5 input is re-calibrated. this bit is automatically cleared once the sensor input has been re-calibrated successfully. bit 3 - cs4_cal - when set, the cs4 input is re-calibrated. this bit is automatically cleared once the sensor input has been re-calibrated successfully. bit 2 - cs3_cal - when set, the cs3 input is re-calibrated. this bit is automatically cleared once the sensor input has been re-calibrated successfully. bit 1 - cs2_cal - when set, the cs2 input is re-calibrated. this bit is automatically cleared once the sensor input has been re-calibrated successfully. bit 0 - cs1_cal - when set, the cs1 input is re-calibrated. this bit is automatically cleared once the sensor input has been re-calibrated successfully. table 6-19: samp_time bit decode samp_time[1:0] sample time 10 0 0 320us 0 1 640us 1 0 1.28ms (default) 1 1 2.56ms table 6-20: cycle_time bit decode cycle_time[1:0] overall cycle time 10 00 3 5 m s 0 1 70ms (default) 1 0 105ms 1 1 140ms table 6-21: calibration activate register a d d rr / wr e g i s t e rb 7 b 6 b 5b 4b 3b 2b 1b 0d e f a u l t 26h r/w calibration activate -- cs6_ cal cs5_ cal cs4_ cal cs3_ cal cs2_ cal cs1_ cal 00h downloaded from: http:///
? 2015 microchip technology inc. ds00001624b-page 29 cap1106 6.12 interrupt enable register the interrupt enable register determines whether a sensor pad touch or release (if enabled) causes the interrupt pin to be asserted. bit 5 - cs6_int_en - enables the interrupt pin to be assert ed if a touch is detected on cs6 (associated with the cs6 status bit). 0 - the interrupt pin will not be asserted if a touch is detected on cs6 (associated with the cs6 status bit). 1 (default) - the interrupt pin will be asserted if a touch is detected on cs6 (associated with the cs6 status bit). bit 4 - cs5_int_en - enables the interrupt pin to be assert ed if a touch is detected on cs5 (associated with the cs5 status bit). bit 3 - cs4_int_en - enables the interrupt pin to be assert ed if a touch is detected on cs4 (associated with the cs4 status bit). bit 2 - cs3_int_en - enables the interrupt pin to be assert ed if a touch is detected on cs3 (associated with the cs3 status bit). bit 1 - cs2_int_en - enables the interrupt pin to be assert ed if a touch is detected on cs2 (associated with the cs2 status bit). bit 0 - cs1_int_en - enables the interrupt pin to be assert ed if a touch is detected on cs1 (associated with the cs1 status bit). 6.13 repeat rate enable register the repeat rate enable register enables the rep eat rate of the sensor inputs as described in section 5.3.1 . bit 5 - cs6_rpt_en - enables the repeat rate for capacitive touch sensor input 6. 0 - the repeat rate for cs6 is disabled. it will only generate an interrupt when a touch is detected and when a release is detected no matter how long the touch is held for. 1 (default) - the repeat rate for cs6 is enabled. in the ca se of a touch event, it will generate an interrupt when a touch is detected and a release is detected (as determined by the int_rel_n bit - see section 6.6 ). in the case of a press and hold event, it will generate an interrupt when a touch is detected and at the repeat rate so long as the touch is held. bit 4 - cs5_rpt_en - enables the repeat rate for capacitive touch sensor input 5. bit 3 - cs4_rpt_en - enables the repeat rate for capacitive touch sensor input 4. bit 2 - cs3_rpt_en - enables the repeat rate for capacitive touch sensor input 3. bit 1 - cs2_rpt_en - enables the repeat rate for capacitive touch sensor input 2. bit 0 - cs1_rpt_en - enables the repeat rate for capacitive touch sensor input 1. table 6-22: interrupt enable register addr r/w register b7 b6 b5 b4 b3 b2 b1 b0 default 27h r/w interrupt enable -- cs6_ int_en cs5_ int_en cs4_ int_en cs3_ int_en cs2_ int_en cs1_ int_en 3fh table 6-23: repeat rate enable register a d d rr / wr e g i s t e rb 7b 6b 5b 4b 3b 2b 1b 0d e f a u l t 28h r/w repeat rate enable -- cs6_ rpt_en cs5_ rpt_en cs4_ rpt_en cs3_ rpt_en cs2_ rpt_en cs1_ rpt_en 3fh downloaded from: http:///
cap1106 ds00001624b-page 30 ? 2015 microchip technology inc. 6.14 multiple touch configuration register the multiple touch configurati on register controls the settings for the mult iple touch detection circuitry. these settings determine the number of simultaneous buttons that may be pr essed before additional buttons are blocked and the mult status bit is set. bit 7 - mult_blk_en - enables the multiple button blocking circuitry. 0 - the multiple touch circuitry is disabl ed. the device will not block multiple touches. 1 (default) - the multiple touch circuitry is enabled . the device will flag the number of touches equal to pro- grammed multiple touch threshold and block all others. it will remember which sensor inputs are valid and block all others until that sensor pad has been released. once a sensor pad has been released, the n detected touches (determined via the cycle order of cs1 - cs6) will be flagged and all others blocked. bits 3 - 2 - b_mult_t[1:0] - determines the number of simult aneous touches on all sensor pads before a multiple touch event is detected and sensor inputs are blocked. the bit decode is given by table 6-25 . 6.15 multiple touch pattern configuration register the multiple touch pattern configuration register controls th e settings for the multiple t ouch pattern detection circuitry. this circuitry works like the multiple touch det ection circuitry with the following differences: 1. the detection threshold is a percentage of the touch detection threshold as defined by the mtp_th[1:0] bits whereas the multiple touch circuitry uses the touch detection threshold. 2. the mtp detection circuitry either will detect a specific pattern of sensor inputs as determined by the multiple touch pattern register settings or it will use the multiple touch pattern register settings to determine a minimum number of sensor inputs that will cause the mtp circuitry to flag an event. when using pattern recognition mode, if all of the sensor inputs set by the multiple touc h pattern register have a delt a count greater than the mtp threshold or have their corresponding noise flag status bi ts set, the mtp bit will be set. when using the absolute number mode, if the number of sensor inputs with thresholds above the mtp threshold or with noise flag status bits set is equal to or greater than this number, the mtp bit will be set. 3. when an mtp event occurs, all touches are blocked and an interrupt is generated. 4. all sensor inputs will remain blocked so long as the requ isite number of sensor inpu ts are above the mtp thresh- old or have noise flag status bits set. once this condition is removed, touc h detection will be restored. note that the mtp status bit is only cleared by writing a 0 to the int bit once the condition has been removed. table 6-24: multiple touch configuration addr r/w register b7 b6 b5 b4 b3 b2 b1 b0 default 2ah r/w multiple touch config mult_ blk_ en - - - b_mult_t[1:0] - - 80h table 6-25: b_mult_t bit decode b_mult_t[1:0] number of simult aneous touches 10 0 0 1 (default) 01 2 10 3 11 4 table 6-26: multiple touch pattern configuration addr r/w register b7 b6 b5 b4 b3 b2 b1 b0 default 2bh r/w multiple touch pattern config mtp_ en - - mtp_th[1:0] comp_ ptrn mtp_ alert 00h downloaded from: http:///
? 2015 microchip technology inc. ds00001624b-page 31 cap1106 bit 7 - mtp_en - enables the multiple touch pattern detection circuitry. 0 (default) - the mtp detection circuitry is disabled. 1 - the mtp detection circuitry is enabled. bits 3-2 - mtp_th[1:0] - determine the mtp threshold, as shown in ta b l e 6 - 2 7 . this threshold is a percentage of sensor input threshold (see section 6.18, "sensor i nput threshold registers" ) when the device is in the fully active state or of the standby threshold (see section 6.23, "standby threshold register" ) when the device is in the standby state. bit 1 - comp_ptrn - determines whether the mtp detection circ uitry will use the multiple t ouch pattern register as a specific pattern of sensor inputs or as an absolute number of sensor inputs. 0 (default) - the mtp detection circui try will use the multiple touch pattern r egister bit settings as an absolute minimum number of sensor inputs that must be above the th reshold or have noise flag status bits set. the num- ber will be equal to the number of bits set in the register. 1 - the mtp detection circuitry will use pattern recognitio n. each bit set in the multiple touch pattern register indicates a specific sensor input that must have a delta count greater than the mtp threshold or have a noise flag status bit set. if the criteria are met, the mtp status bit will be set. bit 0 - mtp_alert - enables an interrupt if an mtp event oc curs. in either condition, the mtp status bit will be set. 0 (default) - if an mtp event occurs, the alert# pin is not asserted. 1 - if an mtp event occurs, the alert# pin will be asserted. 6.16 multiple touch pattern register the multiple touch pattern register acts as a pattern to i dentify an expected sensor inpu t profile for diagnostics or other significant events. there are two methods for how the multiple touch pattern register is used: as specific sensor inputs or number of sensor input t hat must exceed the mtp threshold or have no ise flag status bits set. which method is used is based on the comp_ptrn bit (see section 6.15 ). the methods are described below. 1. specific sensor inputs: if, during a single polling cycl e, the specific sensor inpu ts above the mtp threshold or with noise flag status bits set match those bits set in the multiple touch pattern register, an mtp event is flagged. 2. number of sensor inputs: if, during a single polling cycle, the number of sensor inputs with a delta count above the mtp threshold or with noise flag status bits set is equ al to or greater than the number of pattern bits set, an mtp event is flagged. bit 5 - cs6_ptrn - determines whether cs6 is cons idered as part of the multiple touch pattern. 0 - cs6 is not considered a part of the pattern. 1 - cs6 is considered a part of the pattern or the absolu te number of sensor inputs that must have a delta count greater than the mtp threshold or have the no ise flag status bit set is increased by 1. bit 4 - cs5_ptrn - determines whether cs5 is cons idered as part of the multiple touch pattern. bit 3 - cs4_ptrn - determines whether cs4 is cons idered as part of the multiple touch pattern. bit 2 - cs3_ptrn - determines whether cs3 is cons idered as part of the multiple touch pattern. table 6-27: mtp_th bit decode mtp_th[1:0] threshold divide setting 100 0 12.5% (default) 012 5 % 103 7 . 5 % 1 1 100% table 6-28: multiple touch pattern register addr r/w register b7 b6 b5 b4 b3 b2 b1 b0 default 2dh r/w multiple touch pattern -- cs6_ ptrn cs5_ ptrn cs4_ ptrn cs3_ ptrn cs2_ ptrn cs1_ ptrn 3fh downloaded from: http:///
cap1106 ds00001624b-page 32 ? 2015 microchip technology inc. bit 1 - cs2_ptrn - determines whether cs2 is cons idered as part of the multiple touch pattern. bit 0 - cs1_ptrn - determines whether cs1 is cons idered as part of the multiple touch pattern. 6.17 recalibration configuration register the recalibration configuration register controls the automatic re-calibration routine se ttings as well as advanced con- trols to program the sensor input threshold register settings. bit 7 - but_ld_th - enables setting all sensor input thresh old registers by writing to the sensor input 1 threshold register. 0 - each sensor input x threshold register is updated individually. 1 (default) - writing the sensor input 1 threshold regist er will automatically overwrit e the sensor input threshold registers for all sensor inputs (sensor input threshold 1 through sensor input threshold 6). the individual sensor input x threshold registers (sensor input 2 threshold th rough sensor input 6 threshold) can be individually updated at any time. bit 6 - no_clr_intd - controls whether the accumulation of in termediate data is cleared if the noise status bit is set. 0 (default) - the accumulation of intermediate data is cleared if the noise status bit is set. 1 - the accumulation of intermediate data is not cleared if the noise status bit is set. application note: bits 5 and 6 should both be set to the same value. either both should be set to 0 or both should be set to 1. bit 5 - no_clr_neg - controls whether the consecutive negativ e delta counts counter is cleared if the noise status bit is set. 0 (default) - the consecutive negative delta counts counter is cleared if the noise status bit is set. 1 - the consecutive negative delta counts counter is not cleared if the noise status bit is set. bits 4 - 3 - neg_delta_cnt[1:0] - determines the number of negative delta counts necessary to trigger a digital re- calibration as shown in table 6-30 . bits 2 - 0 - cal_cfg[2:0] - determines the update time and nu mber of samples of the automatic re-calibration routine. the settings apply to all sensor inputs universally (though individual sensor inputs can be configured to support re-cal- ibration - see section 6.11 ). table 6-29: recalibration configuration registers addr r/w register b7 b6 b5 b4 b3 b2 b1 b0 default 2fh r/w recalibration configuration but_ ld_th no_ clr_ intd no_ clr_ neg neg_delta_ cnt[1:0] cal_cfg[2:0] 8ah table 6-30: neg_delta_cnt bit decode neg_delta_cnt[1:0] number of consecutive negative delta count values 10 00 8 0 1 16 (default) 10 3 2 1 1 none (disabled) table 6-31: cal_cfg bit decode cal_cfg[2:0] recalibration samples (see note 6-1 ) update time (see note 6-2 ) 210 0 0 0 16 16 001 3 2 3 2 downloaded from: http:///
? 2015 microchip technology inc. ds00001624b-page 33 cap1106 note 6-1 recalibration samples refers to the number of sa mples that are measured and averaged before the base count is updated however does no t control the base count update period. note 6-2 update time refers to the amount of time (in polling cycle periods) that elapses before the base count is updated. the time will depend upon the nu mber of channels active, the averaging setting, and the programmed cycle time. 6.18 sensor input threshold registers the sensor input threshold registers store the delta thresh old that is used to determi ne if a touch has been detected. when a touch occurs, the input signal of the corresponding sensor pad changes due to the capacitance associated with a touch. if the sensor input change exceeds the threshold settings, a touch is detected. when the but_ld_th bit is set (see section 6.17 - bit 7), writing data to the sensor input 1 threshold register will update all of the sensor input thresh old registers (31h - 35h inclusive). 6.19 sensor input noise threshold register the sensor input noise threshold regist er controls the value of a secondary internal threshold to detect noise and improve the automatic recalibration routine. if a capacitive touch sensor input exceeds the sensor input noise threshold but does not exceed the sensor input thre shold, it is determined to be caused by a noise spike. that sample is not used by the automatic re-calibration routine. this featur e can be disabled by setting the dis_dig_noise bit. 0 1 0 64 64 (default) 0 1 1 128 128 100 2 5 6 2 5 6 1 0 1 256 1024 1 1 0 256 2048 1 1 1 256 4096 table 6-32: sensor input threshold registers addr r/w register b7 b6 b5 b4 b3 b2 b1 b0 default 30h r/w sensor input 1 threshold -6 43 21 68421 4 0 h 31h r/w sensor input 2 threshold -6 43 21 68421 4 0 h 32h r/w sensor input 3 threshold -6 43 21 68421 4 0 h 33h r/w sensor input 4 threshold -6 43 21 68421 4 0 h 34h r/w sensor input 5 threshold -6 43 21 68421 4 0 h 35h r/w sensor input 6 threshold -6 43 21 68421 4 0 h table 6-33: sensor input noise threshold register a d d rr / w r e g i s t e r b 7 b 6 b 5b 4b 3b 2b 1b 0d e f a u l t 38h r/w sensor input noise threshold cs_bn_th [1:0] 01h table 6-31: cal_cfg bit decode (continued) cal_cfg[2:0] recalibration samples (see note 6-1 ) update time (see note 6-2 ) 210 downloaded from: http:///
cap1106 ds00001624b-page 34 ? 2015 microchip technology inc. bits 1-0 - cs1_bn_th[1:0] - controls the noise threshold for all capacitive touch sensor inputs, as shown in ta b l e 6 - 3 4 . the threshold is proportional to the threshold setting. 6.20 standby channel register the standby channel register controls which (if any) capacitive touch sensor inputs are active during standby. bit 5 - cs6_stby - controls whether the cs6 channel is active in standby. 0 (default) - the cs6 channel not be sampled during standby mode. 1 - the cs6 channel will be sampled during standby mode. it will use the standby threshold setting, and the standby averaging and sensitivity settings. bit 4 - cs5_stby - controls whether the cs5 channel is active in standby. bit 3 - cs4_stby - controls whether the cs4 channel is active in standby. bit 2 - cs3_stby - controls whether the cs3 channel is active in standby. bit 1 - cs2_stby - controls whether the cs2 channel is active in standby. bit 0 - cs1_stby - controls whether the cs1 channel is active in standby. 6.21 standby configuration register the standby configuration regist er controls averaging and cycle time for thos e sensor inputs that are active in standby. this register is useful for detecting pr oximity on a small number of sensor input s as it allows the user to change aver- aging and sample times on a limited number of sensor inputs and still maintain normal functionality in the fully active state. bit 7 - avg_sum - determines whether the active sensor inputs will average the programmed number of samples or whether they will accumulate for the programmed number of samples. 0 - (default) - the active sensor input delta count values will be based on the average of the programmed number of samples when compared against the threshold. 1 - the active sensor input delta count values will be based on the summation of the programmed number of samples when compared against the threshold. this bit sh ould only be set when performing proximity detection as a physical touch will overflow the delta count registers and may result in false readings. bits 6 - 4 - stby_avg[2:0] - determines the number of samples that are taken for all active channels during the sensor cycle as shown in ta b l e 6 - 3 7 . all samples are taken consecutively on the same channel before the next channel is sam- pled and the result is averaged over the number of sa mples measured before updating the measured results. table 6-34: csx_bn_th bit decode cs_bn_th[1:0] percent threshold setting 10 002 5 % 0 1 37.5% (default) 105 0 % 1 1 62.5% table 6-35: standby channel register addr r/w register b7 b6 b5 b4 b3 b2 b1 b0 default 40h r/w standby channel - - cs6_ stby cs5_ stby cs4_ stby cs3_ stby cs2_ stby cs1_ stby 00h table 6-36: standby configuration register addr r/w register b7 b6 b5 b4 b3 b2 b1 b0 default 41h r/w standby config- uration avg_ sum stby_avg[2:0] stby_samp_ time[1:0] stby_cy_time [1:0] 39h downloaded from: http:///
? 2015 microchip technology inc. ds00001624b-page 35 cap1106 bit 3-2 - stby samp_time[1:0] - determines the time to take a single sample when the device is in standby as shown in table 6-38 . bits 1 - 0 - stby_cy_time[2:0] - determines the overall cycle time for all measured channels during standby operation as shown in table 6-39 . all measured channels are sampled at the beginning of the cycle time. if additional time is remaining, the device is placed into a lower powe r state for the remaini ng duration of the cycle. application note: the programmed cycle time is only maintained if the total averaging time for all samples is less than the programmed cycle. the stby_avg[2:0] bits will take priority so that if more samples are required than would normally be allowed during the cycle time, the cycle time will be extended as necessary to accommodate the number of samples to be measured. 6.22 standby sensitivity register the standby sensitivity register cont rols the sensitivity for sensor in puts that are active in standby. table 6-37: stby_avg bit decode stby_avg[2:0] number of samples taken per measurement 210 000 1 001 2 010 4 0 1 1 8 (default) 100 1 6 101 3 2 110 6 4 1 1 1 128 table 6-38: stby_samp_time bit decode stby_samp_time[1:0] sampling time 10 0 0 320us 0 1 640us 1 0 1.28ms (default) 1 1 2.56ms table 6-39: stby_cy_time bit decode stby_cy_time[1:0] overall cycle time 10 00 3 5 m s 0 1 70ms (default) 1 0 105ms 1 1 140ms table 6-40: standby sensitivity register a d d rr / w r e g i s t e r b 7 b 6 b 5b 4b 3b 2b 1b 0d e f a u l t 42h r/w standby sensitiv- ity - - - - - stby_sense[2:0] 02h downloaded from: http:///
cap1106 ds00001624b-page 36 ? 2015 microchip technology inc. bits 2 - 0 - stby_sense[2:0] - controls the sensitivity for se nsor inputs that are active in standby. the sensitivity set- tings act to scale the relative delta coun t value higher or lo wer based on the system paramete rs. a setting of 000b is the most sensitive while a setting of 111b is the least sensitive. at the more sensitive settings, touches are detected for a smaller delta c corresponding to a lighter touch. these settings are more sensitive to noise however and a noisy envi- ronment may flag more false touches than higher sensitivity levels. application note: a value of 128x is the most sens itive setting available. at the most sensitivity settings, the msb of the delta count register represents 64 out of ~25,000 which corresponds to a touch of approximately 0.25% of the base capacitance (or a ? c of 25ff from a 10pf base capacitance). conversely a val ue of 1x is the least sensitiv e setting available. at these settings, the msb of the delta count register corresponds to a delta count of 8192 counts out of ~25,000 which corresponds to a touch of approximately 33% of the base capacitance (or a ? c of 3.33pf from a 10pf base capacitance). 6.23 standby threshold register the standby threshold register stores t he delta threshold that is used to dete rmine if a touch ha s been detected. when a touch occurs, the input signal of the corresponding sens or pad changes due to the capacitance associated with a touch. if the sensor input change exceeds the threshold settings, a touch is detected. 6.24 sensor input base count registers table 6-41: stby_sense bit decode stby_sense[2:0] sensitivity multiplier 210 0 0 0 128x (most sensitive) 001 6 4 x 0 1 0 32x (default) 011 1 6 x 100 8 x 101 4 x 110 2 x 1 1 1 1x - (least sensitive) table 6-42: standby threshold register a d d rr / w r e g i s t e r b 7 b 6 b 5b 4b 3b 2b 1b 0d e f a u l t 43h r/w standby thresh- old -6 43 21 68421 4 0 h table 6-43: sensor input base count registers a d d rr / w r e g i s t e r b 7 b 6 b 5b 4b 3b 2b 1b 0d e f a u l t 50h r sensor input 1 base count 128 64 32 16 8 4 2 1 c8h 51h r sensor input 2 base count 128 64 32 16 8 4 2 1 c8h 52h r sensor input 3 base count 128 64 32 16 8 4 2 1 c8h 53h r sensor input 4 base count 128 64 32 16 8 4 2 1 c8h 54h r sensor input 5 base count 128 64 32 16 8 4 2 1 c8h 55h r sensor input 6 base count 128 64 32 16 8 4 2 1 c8h downloaded from: http:///
? 2015 microchip technology inc. ds00001624b-page 37 cap1106 the sensor input base count registers store the calibrated not touched input value from the capacitive touch sensor inputs. these registers are periodically u pdated by the re-calibration routine. the routine uses an internal adder to add the current count value for each reading to the sum of the previous readings until sample size has been reached. at this point, the uppe r 16 bits are taken and used as the sensor input base count. the internal adder is then reset and the re-calibration routine continues. the data presented is determined by the base_shift[3:0] bits (see section 6.5 ). 6.25 sensor input calibration registers the sensor input calibration registers hold the 10-bi t value that represents the last calibration value. 6.26 product id register the product id register stores a unique 8-bit value that identifies the device. 6.27 manufacturer id register the vendor id register stores an 8- bit value that represents microchip. table 6-44: sensor inpu t calibration registers addr register r/w b7 b6 b5 b4 b3 b2 b1 b0 default b1h sensor input 1 calibration r cal1_9 cal1_8 cal1_7 cal1_6 cal1_5 cal1_4 cal1_3 cal1_2 00h b2h sensor input 2 calibration r cal2_9 cal2_8 cal2_7 cal2_6 cal2_5 cal2_4 cal2_3 cal2_2 00h b3h sensor input 3 calibration r cal3_9 cal3_8 cal3_7 cal3_6 cal3_5 cal3_4 cal3_3 cal3_2 00h b4h sensor input 4 calibration r cal4_9 cal4_8 cal4_7 cal4_6 cal4_5 cal4_4 cal4_3 cal4_2 00h b5h sensor input 5 calibration r cal5_9 cal5_8 cal5_7 cal5_6 cal5_5 cal5_4 cal5_3 cal5_2 00h b6h sensor input 6 calibration r cal6_9 cal6_8 cal6_7 cal6_6 cal6_5 cal6_4 cal6_3 cal6_2 00h b9h sensor input calibration lsb 1 r cal4_1 cal4_0 cal3_1 cal3_0 cal2_1 cal2_0 cal1_1 cal1_0 00h bah sensor input calibration lsb 2 r - - - - cal6_1 cal6_0 cal5_1 cal5_0 00h table 6-45: product id register addr r/w register b7 b6 b5 b4 b3 b2 b1 b0 default fdh r product id cap1106 01010101 5 5 h table 6-46: vendor id register addr r/w register b7 b6 b5 b4 b3 b2 b1 b0 default f e hrm a n u f a c t u r e r i d01011101 5 d h downloaded from: http:///
cap1106 ds00001624b-page 38 ? 2015 microchip technology inc. 6.28 revision register the revision register stores an 8-bit value that represents the part revision. table 6-47: revision register addr r/w register b7 b6 b5 b4 b3 b2 b1 b0 default f f hr r e v i s i o n 10000011 8 3 h downloaded from: http:///
? 2015 microchip technology inc. ds00001624b-page 39 cap1106 7.0 package information 7.1 cap1106 package drawings figure 7-1: 10-pin dfn 3mm x 3mm package drawings (1 of 2) note: for the most current package draings, see the microchip packaging specification at http://.microchip.com/packaging downloaded from: http:///
cap1106 ds00001624b-page 40 ? 2015 microchip technology inc. figure 7-2: 10-pin dfn 3mm x 3mm package drawings (2 of 2) note: for the most current package draings, see the microchip packaging specification at http://.microchip.com/packaging downloaded from: http:///
? 2015 microchip technology inc. ds00001624b-page 41 cap1106 7.2 package marking figure 7-3: cap1106 package markings 1 8w nnna e4 top bottom bottom marking not allowed pb-free/green symbol (ni/pd pp-lf) pin 1 2x 0.6 line 1 C device code, week line 2 C alphanumeric traceability code w lines 1-2: line 3: center horizontal alignment as shown downloaded from: http:///
cap1106 ds00001624b-page 42 ? 2015 microchip technology inc. appendix a: device delta a.1 delta from cap1006 to cap1106 1. updated circuitry to improve power supply rejection. 2. added multiple touch pattern detection circuitry. see section 6.15, "multiple touch pattern configuration regis- ter" . 3. added general status register to flag multiple touches , multiple touch pattern issues and general touch detec- tions. see section 6.2, "status registers" . 4. added bits 6 and 5 to the recalibration configuration register (2fh - see section 6.17, "recalibration configura- tion register" ). these bits control whether the accumulation of intermediate data and the consecutive negative delta counts counter are cleared when the noise status bit is set. 5. added configuration 2 register for noise detection controls and control to interrupt on press but not on release. added control to change alert pin polarity. see section 6.6, "config uration registers" . 6. updated deep sleep behavior so that device does no t clear dsleep bit on received communications but will wake to communicate. 7. register delta: table a.1 register delta from cap1006 to cap1106 address register delta delta default 00h page 20 changed - main status / control added bits 7-6 to control gain 00h 02h page 21 new - general status new register to store mtp, mult, and gen- eral touch bits 00h 44h page 24 new - configuration 2 new register to control alert polarity, and noise detection, and interrupt on release 00h 24h page 27 changed - averaging control updated register bits - moved samp_avg[2:0] bits and added samp_- time bit 1. default changed 39h 2bh page 30 new - multiple touch pattern configuration new register for multiple touch pattern configuration - enable and threshold set- tings 80h 2dh page 31 new - multiple touch pattern register new register for multiple touch pattern detection circuitry - pattern or number of sensor inputs 3fh 2fh page 32 changed - recalibration configuration updated register - updated cal_cfg bit decode to add a 128 averages setting and removed highest time setting. default changed. added bit 6 no_clr_intd and bit 5 no_clr_neg. 8ah 38h page 33 changed - sensor input noise threshold updated register bits - removed bits 7 - 3 and consolidated all controls into bits 1 - 0. these bits will set the noise threshold for all channels. default changed 01h 39h removed - noise threshold register 2 removed register n/a 41h page 34 changed - standby con- figuration updated register bits - moved stby_avg[2:0] bits and added stby_- time bit 1. default changed 39h fdh page 37 changed - product id changed bit decode for cap1106 55h downloaded from: http:///
? 2015 microchip technology inc. ds00001624b-page 43 cap1106 appendix b: data sheet revision history revision section/figure/entry correction ds00001624b (02-09-15) features, ta b l e 2 - 2 , table 2- 2, "pin types" , section 5.0, "general description" references to bc-link in terface, bc_data, bc_- clk, bc-irq#, bc-link bus have been removed application note under table 2-6 [bc-link] hidden in data sheet table 3-2, "electrical specifi- cations" bc-link timing section hidden in data sheet table 4-1 protocol used for 68k pull down resistor changed from bc-link communications to reserved section 4.1.3 bc-link com- munications removed this section and application note section 4.2.2, "smbus address and rd / wr bit" replaced client address with slave address in this section. section 4.2.4, smbus ack and nack bits , section 4.2.5, smbus stop bit , section 4.2.7, smbus and i2c compatibility replaced client with slave in these sections. table 4-3, "read byte proto- col" heading changed from client address to slave address section 5.1, power states removed bc-link application notes table 6-1 register name for register address 77h changed from led linked transition control to linked led transition control section 6.1 main control reg- ister bc-link paragraph removed from bit 4 under table 6-3 section 7.7 package marking updated package drawing figure 7-25 cap1106 with bc-link support package markings removed figure. appendix a: device delta changed 2dh to 2fh in item #12 product identificat ion system removed bc-link references rev a rev a replaces previous smsc version rev. 1.32 (01-05-12) rev. 1.32 (01-05-12) table 3-2, "electrical specifi- cations" added conditions for t hd:dat . section 4.2.7, "smbus and i2c compatibility" renamed from smbus and i2c compliance. first paragraph, added last sentence: for informa- tion on using the cap1106 in an i 2 c system, refer to smsc an 14.0 smsc dedi cated slave devices in i 2 c systems. added: cap1106 supports i 2 c fast mode at 400khz. this covers the smbus max time of 100khz. section 6.4, "sensor input delta count registers" changed negative value cap from ffh to 80h. rev. 1.31 (08-18-11) section 4.3.3, "smbus send byte" added an application note: t he send byte protocol is not functional in deep sleep (i.e., dsleep bit is set). section 4.3.4, "smbus receive byte" added an application note: the receive byte proto- col is not functional in d eep sleep (i.e., dsleep bit is set). downloaded from: http:///
cap1106 ds00001624b-page 44 ? 2015 microchip technology inc. section 6.2, "status regis- ters" removed reset as bit 3 in register 02h. rev. 1.3 (05-18-11) section 6.28, "revision reg- ister" updated revision id from 82h to 83h. section 6.2, "status regis- ters" added reset as bit 3 in register 02h. rev. 1.2 (02-10-11) section a.8, "delta from rev b (mask b0) to rev c (mask b1)" added. table 3-2, "electrical specifi- cations" psr improvements made in functional revision b. changed psr spec from 100 typ and 200 max counts / v to 3 and 10 counts / v. conditions updated. section 5.2.2, "recalibrating sensor inputs" added more detail with subheadings for each type of recalibration. section 6.6, "configuration registers" added bit 5 blk_pwr_ctrl to the configuration 2 register 44h. the timeout bit is set to 1 by default for functional revision b and is set to 0 by default for functional revision c. section 6.28, "revision reg- ister" updated revision id in register ffh from 81h to 82h. rev. 1.1 (11-17-10) document updated for f unctional revision b. see section a.7, "delta from rev a (mask a0) to rev b (mask b0)". cover added to general description: includes circuitry and support for enhanced sensor proximity detection. added the following features: calibrates for parasitic capacitance analog filtering for system noise sources press and hold feature for volume-like applications table 3-2, "electrical specifi- cations" conditions for power supply rejection modified add- ing the following: sampling time = 2.56ms averaging = 1 negative delta counts = disabled all other parameters default section 6.11, "calibration acti- vate register" updated register description to indicate which re-cal- ibration routine is used. section 6.14, "multiple touch configuration register" updated register descripti on to indicate what will happen. table 6-34, "csx_bn_th bit decode" table heading changed from threshold divide set- ting to percent threshold setting. rev. 1.0 (06-14-10) initial release revision section/figure/entry correction downloaded from: http:///
? 2015 microchip technology inc. ds00001624b-page 45 cap1106 the microchip web site microchip provides online support via our www site at www.microchip.com . this web site is used as a means to make files and information easily available to customers. accessible by using your favorite internet browser, the web site con- tains the following information: product support C data sheets and errata, application notes and sample programs, design resources, users guides and hardware support documents, latest software releases and archived software general technical support C frequently asked questions (faq), te chnical support requests, online discussion groups, microchip consultant program member listing business of microchip C product selector and ordering guides, latest microchip press releases, listing of semi- nars and events, listings of microchip sales offi ces, distributors and factory representatives customer change notification service microchips customer notification service helps keep customers current on microc hip products. subscribers will receive e-mail notification whenever there are changes, updates, revisi ons or errata related to a specified product family or development tool of interest. to register, access the microchip web site at www.microchip.com . under support, click on customer change notifi- cation and follow the registration instructions. customer support users of microchip products can receive assistance through several channels: distributor or representative local sales office field application engineer (fae) technical support customers should contact their distributor, representative or field application engineer (fae) for support. local sales offices are also available to help customers. a listing of sales offices and locations is included in the back of this docu- ment. technical support is available through the web site at: http://www.microchip.com/support downloaded from: http:///
cap1106 ds00001624b-page 46 ? 2015 microchip technology inc. product identification system to order or obtain information, e.g., on pricing or deliv ery, refer to the factory or the listed sales office. part no. [x] - [x] - xxx - [x] (1) l l l l l device temperature addressing package tape and reel range option option example: note 1: tape and reel identifier only appears in the catalog part number description. this i dentifier is used for ordering purposes and is not printed on the devic e package. check with your microchip sales office for package availability with the tape and reel option. device: cap1106 temperature range: blank = 0 c to +85 c (extended commercial) package: aia = dfn tape and reel option: tr = tape and reel (1) CAP1106-1-AIA-TR 10-pin dfn 3mm x 3mm (rohs compliant) six capacitive touch sensor inputs, smbus interface reel size is 4,000 pieces downloaded from: http:///
? 2015 microchip technology inc. ds00001624b-page 47 cap1106 note the following details of the code protection feature on microchip devices: microchip products meet the specification cont ained in their particular microchip data sheet. microchip believes that its family of products is one of the mo st secure families of its kind on the market today, when used i n the intended manner and under normal conditions. there are dishonest and possibly illegal meth ods used to breach the code protection fe ature. all of these methods, to our knowledge, require using the microchip products in a manner outside the operating specif ications contained in microchips data sheets. most likely, the person doing so is engaged in theft of intellectual property. microchip is willing to work with the customer who is concerned about the integrity of their code. neither microchip nor any other semiconduc tor manufacturer can guarantee the security of their code. code protection does not mean that we are guaranteeing the product as unbreakable. code protection is constantly evolving. we at microchip are committed to continuously improving the code protection features of our products. attempts to break microchips c ode protection feature may be a violation of the digital millennium copyright act. if such acts allow unauthorized access to your softwa re or other copyrighted work, you may have a right to sue for relief under that act. information contained in this publication regarding device applications and the like is provided only for your convenience and may be superseded by updates. it is your responsibility to ensure that your application meets with y our specifications. microchip make s no representations or warranties of any kind whether ex press or implied, written or oral, statutory or otherwise, related to the information, including but not limited to its condition, quality, performance, merchantability or fi tness for purpose . microchip disclaims all liability arising fr om this information and its use. use of microchip devices in life support and/or safety applications is entirely at the buyers risk, and the buyer agrees to defend, i ndemnify and hold harmless microchip from any and all dama ges, claims, suits, or expenses resulting from such use. no licenses ar e conveyed, implic- itly or otherwise, under any micr ochip intellectual property rights. trademarks the microchip name and logo, t he microchip logo, dspic, flas hflex, flexpwr, jukeblox, k ee l oq , k ee l oq logo, kleer, lancheck, medialb, most, most logo, mplab, optolyzer, pic, picstart, pic 32 logo, righttouch, spynic, sst, sst logo, superflash and uni/o are registered trademarks of mi crochip technology incorporated in the u.s.a. and other countries. the embedded control solutions company and mtouch are registered tr ademarks of microchip technol ogy incorporated in the u.s.a. analog-for-the-digital age, bodycom, chipkit, chipkit logo, codeguard, dspicdem, dspicdem.net, ecan, in-circuit serial programming, icsp, inter-chip connectivity, kl eernet, kleernet logo, miwi, mpasm, mpf, mplab certified logo, mplib, mplink, multitrak, netdetach, omniscient code generation, picdem, picdem .net, pickit, pictail, righttouch logo, real ice, sqi, serial quad i/o, total endurance, tsharc, usbcheck, varisense, view span, wiperlock, wireless dna, and zena are trademarks of microchip technology incorporated in the u.s.a. and other countries. sqtp is a service mark of microchi p technology incorporated in the u.s.a. silicon storage technology is a registered trademark of microchip technology inc. in other countries. gestic is a registered trademarks of microchip technology germany ii gmbh & co. kg, a subsidiary of microchip technology inc., in other countries. all other trademarks mentioned herein are pr operty of their respective companies. ? 2015, microchip technology incorporated, pr inted in the u.s.a., all rights reserved. isbn: 9781632770349 microchip received iso/ts-16949:2009 certification for its worldwide headquarters, design and wafer fabrication facilities in chandler and tempe, arizona; gresham, oregon and design centers in california and india. the company?s quality system processes and procedures are for its pic ? mcus and dspic ? dscs, k ee l oq ? code hopping devices, serial eeproms, microperi pherals, nonvolatile memory and analog products. in addition, microchip?s quality system for the design and manufacture of development systems is iso 9001:2000 certified. quality management s ystem certified by dnv == iso/ts 16949 == downloaded from: http:///
? 2015 microchip technology inc. ds00001624b-page 48 americas corporate office 2355 west chandler blvd. chandler, az 85224-6199 tel: 480-792-7200 fax: 480-792-7277 technical support: http://www.microchip.com/ support web address: www.microchip.com atlanta duluth, ga tel: 678-957-9614 fax: 678-957-1455 austin, tx tel: 512-257-3370 boston westborough, ma tel: 774-760-0087 fax: 774-760-0088 chicago itasca, il tel: 630-285-0071 fax: 630-285-0075 cleveland independence, oh tel: 216-447-0464 fax: 216-447-0643 dallas addison, tx tel: 972-818-7423 fax: 972-818-2924 detroit novi, mi tel: 248-848-4000 houston, tx tel: 281-894-5983 indianapolis noblesville, in tel: 317-773-8323 fax: 317-773-5453 los angeles mission viejo, ca tel: 949-462-9523 fax: 949-462-9608 new york, ny tel: 631-435-6000 san jose, ca tel: 408-735-9110 canada - toronto tel: 905-673-0699 fax: 905-673-6509 asia/pacific asia pacific office suites 3707-14, 37th floor tower 6, the gateway harbour city, kowloon hong kong tel: 852-2943-5100 fax: 852-2401-3431 australia - sydney tel: 61-2-9868-6733 fax: 61-2-9868-6755 china - beijing tel: 86-10-8569-7000 fax: 86-10-8528-2104 china - chengdu tel: 86-28-8665-5511 fax: 86-28-8665-7889 china - chongqing tel: 86-23-8980-9588 fax: 86-23-8980-9500 china - dongguan tel: 86-769-8702-9880 china - hangzhou tel: 86-571-8792-8115 fax: 86-571-8792-8116 china - hong kong sar tel: 852-2943-5100 fax: 852-2401-3431 china - nanjing tel: 86-25-8473-2460 fax: 86-25-8473-2470 china - qingdao tel: 86-532-8502-7355 fax: 86-532-8502-7205 china - shanghai tel: 86-21-5407-5533 fax: 86-21-5407-5066 china - shenyang tel: 86-24-2334-2829 fax: 86-24-2334-2393 china - shenzhen tel: 86-755-8864-2200 fax: 86-755-8203-1760 china - wuhan tel: 86-27-5980-5300 fax: 86-27-5980-5118 china - xian tel: 86-29-8833-7252 fax: 86-29-8833-7256 asia/pacific china - xiamen tel: 86-592-2388138 fax: 86-592-2388130 china - zhuhai tel: 86-756-3210040 fax: 86-756-3210049 india - bangalore tel: 91-80-3090-4444 fax: 91-80-3090-4123 india - new delhi tel: 91-11-4160-8631 fax: 91-11-4160-8632 india - pune tel: 91-20-3019-1500 japan - osaka tel: 81-6-6152-7160 fax: 81-6-6152-9310 japan - tokyo tel: 81-3-6880- 3770 fax: 81-3-6880-3771 korea - daegu tel: 82-53-744-4301 fax: 82-53-744-4302 korea - seoul tel: 82-2-554-7200 fax: 82-2-558-5932 or 82-2-558-5934 malaysia - kuala lumpur tel: 60-3-6201-9857 fax: 60-3-6201-9859 malaysia - penang tel: 60-4-227-8870 fax: 60-4-227-4068 philippines - manila tel: 63-2-634-9065 fax: 63-2-634-9069 singapore tel: 65-6334-8870 fax: 65-6334-8850 taiwan - hsin chu tel: 886-3-5778-366 fax: 886-3-5770-955 taiwan - kaohsiung tel: 886-7-213-7828 taiwan - taipei tel: 886-2-2508-8600 fax: 886-2-2508-0102 thailand - bangkok tel: 66-2-694-1351 fax: 66-2-694-1350 europe austria - wels tel: 43-7242-2244-39 fax: 43-7242-2244-393 denmark - copenhagen tel: 45-4450-2828 fax: 45-4485-2829 france - paris tel: 33-1-69-53-63-20 fax: 33-1-69-30-90-79 germany - dusseldorf tel: 49-2129-3766400 germany - munich tel: 49-89-627-144-0 fax: 49-89-627-144-44 germany - pforzheim tel: 49-7231-424750 italy - milan tel: 39-0331-742611 fax: 39-0331-466781 italy - venice tel: 39-049-7625286 netherlands - drunen tel: 31-416-690399 fax: 31-416-690340 poland - warsaw tel: 48-22-3325737 spain - madrid tel: 34-91-708-08-90 fax: 34-91-708-08-91 sweden - stockholm tel: 46-8-5090-4654 uk - wokingham tel: 44-118-921-5800 fax: 44-118-921-5820 worldwide sales and service 01/27/15 downloaded from: http:///


▲Up To Search▲   

 
Price & Availability of CAP1106-1-AIA-TR

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X